<template>
    <view class="container">
        <web-view :src="url"></web-view>
    </view>
</template>
<script>
export default {
    data() {
        return {
            url: ''
        }
    },
    onLoad(options) {
        this.url = decodeURIComponent(options.url)
    }
}
</script>
<style lang="scss" scoped>
.container {
    width: 100%;
    height: 100%;
}
</style>
